<?php

interface Adept_Db_IConnection {
    
    public function connect();
    
    public function disconnect();
    
    public function getConnectionId();
    
    public function isConnected();
    
    public function execute($sql);

    /**
     * @param string $sql
     * @return Adept_Db
     */
    public function newStatement($sql);
    
    /**
     * @param string $tableName
     * @return Adept_Db_TableInfo 
     */
    public function getTableInfo($tableName);
    
}
